package pers.cz.service;

import pers.cz.model.AutoCollectTestCaseSql;
import pers.cz.model.BusinessKnowLedgeTree;
import pers.cz.model.KnowLedgeBaseBusi;

import java.util.List;

public interface KnowLedgeBaseService {

    public List<KnowLedgeBaseBusi> queryAllKnowLedgeBaseBusi();
    public List<KnowLedgeBaseBusi> queryKnowLedgeBaseBusiByKeyWord(String keyWord);
    public List<String> getDownLoadRank();

    public Integer addKonwLedgeNode(BusinessKnowLedgeTree businessKnowLedgeTree);
    public Integer deleteKonwLedgeNode(Integer id);
    public List<BusinessKnowLedgeTree> queryAllBusinessKnowLedgeTree();
    public Integer updateKnowLedgeNode(BusinessKnowLedgeTree businessKnowLedgeTree);

    public List<String> getAllBusiCode();
    public List<AutoCollectTestCaseSql> getAllSqlByBusiCode(String busiCode);
}
